package com.x.chalk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_signtask")
public class SignTask {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(notes = "主键id")
    private Long id;
    @ApiModelProperty(notes = "用户id")
    private Long uid;
    /**奖励积分*/
    @ApiModelProperty(notes = "奖励积分")
    private Integer score;
    @ApiModelProperty(notes = "任务名称")
    private String info;
    @ApiModelProperty(notes = "任务状态")
    private Integer flag;
    @ApiModelProperty(notes = "任务编号")
    private Integer taskid;

    public SignTask(Long uid, Integer score, String info, Integer flag, Integer taskid) {
        this.uid = uid;
        this.score = score;
        this.info = info;
        this.flag = flag;
        this.taskid = taskid;
    }
}
